package com.example.restful01.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.restful01.model.Reports;
import com.example.restful01.model.Reservation;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ReportsMapper extends BaseMapper<Reports> {
    @Select("select * from reports where reporter_id = #{reporterId}")
    List<Reports> initStuReport(Integer reporterId);
}
